public class Demo {
    public static void main(String[] args) {
        Demo demo = new Demo();
        Season season = Season.SPRING;
        demo.show(season);
        demo.show(Season.AUTOMN);
    }
    public void show(Season season) {
        switch (season ) {
            case SPRING:
                System.out.println("春天");
                break;
            case SUMMER:
                System.out.println("夏天");
                break;
            case AUTOMN:
                System.out.println("秋天");
                break;
            case WINTER:
                System.out.println("冬天");
                break;
        }
    }

}
